<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="query.js"></script>
    <script>
        //根据表单名，得到表单值
        var id = getQuery("id");
        var name = getQuery("name");
        alert(id + "   "+name);
    </script>
</head>
<body>
    b.html
</body>
</html>